package com.lucun.es_transaction.service;

import com.lucun.es_transaction.entity.UserInfo;
import com.lucun.es_transaction.util.JsonResult;

import javax.servlet.http.HttpServletRequest;

public interface UserInfoService {

    /*
     *  添加用户个人信息
     **/
    JsonResult<?> insert(UserInfo record,HttpServletRequest request);

    /*
     *  通过编号查询
     **/
    UserInfo findByNumber(HttpServletRequest request);

    /*
     *  修改用户个人信息
     **/
    JsonResult<?> updateByPrimaryKeySelective(UserInfo record,HttpServletRequest request);

//    根据ID修改实名认证状态
    JsonResult<?> update(UserInfo userInfo, HttpServletRequest request);

}
